Programming Microsoft Office 365: Covers Microsoft Graph, Office 365 applications, SharePoint Add-ins, Office 365 Groups, and more by Pialorsi Paolo

Programming Microsoft Office 365: Covers Microsoft Graph, Office 365 applications, SharePoint Add-ins, Office 365 Groups, and more by Pialorsi Paolo

Author:Pialorsi, Paolo
Language: eng
Format: epub
Publisher: Pearson Education
Published: 2016-08-29T16:00:00+00:00


* * *

Through the Drive instance, you can also access the Owner of the drive and the Quota numbers of the current drive. For example, by leveraging the Owner property of the drive object, you can access the user who owns that drive directly. This could be useful when you are browsing third parties’ drives (as long as you have proper permissions to do that) and want to traverse the graph to gain a user from her drive object.

Browsing for files and folders

Once you have a reference to the drive object, you can access its root folder by making an HTTP GET request for the root navigation property, which represents the root folder of the drive. In Listing 7-3, you can see a helper method to get the root folder.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.